package com.itggm.mapper;

import com.itggm.pojo.Slide;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SlideMapper {
    List<Slide> page();

    void uploadInfo(Slide slide);

    void delete(String uuid);

    void update(Integer carouseId);

    List<Slide> selectPictureList(Integer limit);

    void uploadImg(@Param("carouseId") Integer carouseId, @Param("fileName") String fileName);
}
